package com.lyy.super_;


/**
 * @Author:  GZQ
 * @date:  2024/11/16 0:13
 * @description: super关键字细节3演示
 */

public class Base { // 父类 -> object

    public int n1 = 999;

    public int age = 18;

     public void cal() {
        System.out.println("Base类的cal() 方法..");
    }

    public void eat() {
        System.out.println("Base类的eat().....");
    }
}
